package com.co.user;

import com.co.common.util.IdWorker;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import tk.mybatis.spring.annotation.MapperScan;

import java.util.UUID;


/**
 * @author ldl.plus
 * @date 2020年06月30日  9:00
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = {"com.co.video.feign"})
public class UserApplication12002 {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication12002.class, args);
    }
    @Bean
    public IdWorker idWorker(){
        return new IdWorker();
    }
}
